package com.hjm.project.weaningGear.weaningGear.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 撤机归档记录对象 weaning_gear
 * 
 * @author maker-platform
 * @date 2021-01-26
 */
public class WeaningGear extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键编号(SEQ_WEANING_GEAR.nextval) */
    private Long id;

    /** 撤档代理商编号 */
    @Excel(name = "撤档代理商编号")
    private Long agentNum;

    /** 撤档执行时间（YYYY-MM-DD） */
    @Excel(name = "撤档执行时间", readConverterExp = "Y=YYY-MM-DD")
    private String operateDate;

    /** 来源：1平台 2 App */
    @Excel(name = "来源：1平台 2 App")
    private Long source;

    /** 状态：1已调 2 未调 */
    @Excel(name = "状态：1已调 2 未调")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAgentNum(Long agentNum)
    {
        this.agentNum = agentNum;
    }

    public Long getAgentNum()
    {
        return agentNum;
    }
    public void setOperateDate(String operateDate)
    {
        this.operateDate = operateDate;
    }

    public String getOperateDate()
    {
        return operateDate;
    }
    public void setSource(Long source)
    {
        this.source = source;
    }

    public Long getSource()
    {
        return source;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentNum", getAgentNum())
            .append("operateDate", getOperateDate())
            .append("source", getSource())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
